package com.zjy.heath_ms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 体检套餐
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_setmeal")
public class Setmeal implements Serializable {
    @TableId(type = IdType.AUTO)
    protected Integer id;
    protected String name;
    protected String code;
    @TableField("help_code")
    protected String helpCode;
    protected String sex;//套餐适用性别：0不限 1男 2女
    protected String age;//套餐适用年龄
    protected Float price;//套餐价格
    protected String remark;
    protected String attention;
    protected String img;//套餐对应图片存储路径
    @TableField(exist = false)
    private List<CheckGroup> checkGroups;//体检套餐对应的检查组，多对多关系
}
